import {
    request
} from "./request";
// 病历状态
export const GetPatientRecordState = (data) => {
    return request({
        url: "Maintain/GetPatientRecordState",
        method: "post",
        data,
        headers: {
            "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
          },
    });
};

// 现场去向（智能调度）
export const GetPatientRecord_XCQXWXZ = (data) => {
    return request({
        url: "Maintain/GetPatientRecord_XCQXWXZ",
        method: "post",
        data,
        headers: {
            "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
          },
    });
};

// 病人列表
export const GetPatientRecordList = (data) => {
    return request({
        url: "Maintain/GetPatientRecordList",
        method: "post",
        data,
        headers: {
            "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
          },
    });
};
// 应急预案
export const GetEmergencyPlan = (data) => {
    return request({
        url: "Maintain/GetEmergencyPlan",
        method: "post",
        data,
        headers: {
            "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
          },
    });
};

// 预案pdf
export const GetEmergencyPlan_Base64 = (data) => {
    return request({
      url: "/Maintain/GetEmergencyPlan_Base64",
      method: "post",
      data,
      headers: {
        "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
      },
    });
  };

// 场馆调度车辆
export const GetVenuesAmbList = (data) => {
    return request({
        url: "Maintain/GetVenuesAmbList",
        method: "post",
        data,
        headers: {
            "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
          },
    });
};

// 调度车辆
export const DispatchAmb = (data) => {
    return request({
        url: "Maintain/DispatchAmb",
        method: "post",
        data,
        headers: {
            "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
          },
    });
};

// 病历细节详情
export const GetPatientRecordInfo = (data) => {
    return request({
        url: "/Maintain/GetPatientRecordInfo",
        method: "post",
        data,
        headers: {
            "Content-Type": "application/x-www-form-urlencoded;charset=UTF-8"
          },
    });
};